package com.qidian.buy.sso.service;

import com.qidian.buy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qidian.buy.util.pojo.BuyResult;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2023-05-18
 */
public interface IUserService extends IService<User> {

    BuyResult saveUser(User user);

    BuyResult login(String username,String password);

    BuyResult<User> checkLogin(String token);

}
